<style>
.rightCol, #rightbar{display: none;}
.mid_box .signup_left{
    padding: 20px 40px;
    width: 40%;
    float: left;
}
#leftbar  .signup_left{
    padding: 20px 40px;
    width: 50%;
    float: left;
}
.container .col-lg-8,.container .col-md-8, .container .col-sm-8 , .container .col-xs-12{width: 100%;}
.mid_box h2, #leftbar h2{display: none;margin-bottom: 20px; text-align: center;padding-bottom: 10px;}
.signup_left h2, #leftbar .signup_left h2{display: block;}
.signup_left .facebook_button{text-align: center;margin-bottom: 30px;}
.or {
    display: block;
    margin-bottom: 20px;
    text-align: center;
}
#UserAddForm input[type="submit"]{
	float: right;
	font-size: 120%;
	padding: 5px;
	margin-top: 20px;
	min-width: 150px;
}
#leftbar #UserAddForm input[type="submit"]{padding: inherit;}
</style>
<section class="hauptseite register_page"> 
	<div class="container"> 
		<div class="row">
			<h2><?php echo $this->pageTitle;?></h2>
			<div class="wrap_all_form wrap_addlist">  
    			<div class="col-md-6 signup_left Left_add">
					<?php
					//@FBCONNECT INTERACTION
					if(cr("FacebookConfig.appId")) 
					{
						echo $html->link($html->image('/img/signupFacebook.png'),'javascript:void(0)',array("onclick"=>"doUserFbLogin();","escape"=>false,'class'=>'facebook_button'));
						echo ' <span class="or">	-----OR----</span>';
					}?>
				<?php 
					$group = 'signup';
					if(Configure::read('GroupSignup')==true && $userType != 'default')
						$group .= '_'.$userType; 
						
					echo $form->create($userModelAlias, array('url'=>array('action'=>'register', $userType) ,'enctype' => 'multipart/form-data'));
					echo $form->inputs(array('fieldset'=>false), null, $group);
					echo $form->input('userType', array('type'=>'hidden', 'value'=>$userType));
					if(cr('GeneralConfig.send_activation_email') != 1)
					{
						echo $form->input('emailVerified', array('type'=>'hidden', 'value'=>'1'));
					}
					if(cr('GeneralConfig.captcha_on_register'))
					{
						echo $form->input('captcha', array('type'=>'captcha'));
					}	
					echo $form->end(__('Signup'));
					?>
					<div class="clear"></div>
				</div>
				<div class="col-md-6 right_add">
					<div class="signup_graphic"><h4><?php echo __("Become a part of our community"); ?></h4><img src="app/webroot/themed/mwc/img/signup_graphic.png"></div>		
				</div>
			</div>
		</div><!--/.row-->
	</div> <!--/.container-->
</section>

